/*触摸高亮层背景色*/
* {
	-webkit-tap-highlight-color: transparent;
}

html,
body {
	margin: 0px;
	width: 100%;
	height: 100%;
	font-size: 14px;
	color: #666666;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
	"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
	SimSun, sans-serif;
}

h1,h2,h3,h4,h5,h6,div,ol,ul,img,a{
	padding: 0px;
	margin: 0px;
}

/*图片*/
img {
	border: none;
}

/*链接*/
a {
	outline: none;
	text-decoration: none;
	&:link,&:visited{
		color: #666666;
	}
	&:active{
		background-color: rgba(0, 0, 0, 0.1);
	}
}

/*禁用*/
[disabled] {
	cursor: no-drop;
}

/*--------------------------------------------------*/

/*省略号*/
[ellipsis] {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	&:not([ellipsis=""]) {
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}
}
[ellipsis="2"] {
	-webkit-line-clamp: 2;
}
[ellipsis="3"] {
	-webkit-line-clamp: 3;
}
[ellipsis="4"] {
	-webkit-line-clamp: 4;
}
[ellipsis="5"] {
	-webkit-line-clamp: 5;
}
[ellipsis="6"] {
	-webkit-line-clamp: 6;
}

[badge]{
	position: relative;
	&:after{
		top: -7px;
		right: -7px;
		font-size: 12px;
		color: #ffffff;
		padding: 1px 3.5px;
		line-height: 12px;
		position: absolute;
		border-radius: 7px;
		content: attr(badge);
		display: inline-block;
		background-color: red;
	}
	&[badge=""]:after{
		top: 0px;
		right: -2px;
		width: 6px;
		height: 6px;
		padding: 0px;
		content: ' ';
	}
}

[nodata]{
	&::before{
		top: 50%;
		left: 50%;
		content: "";
		width: 100px;
		height: 100px;
		display: block;
		position: fixed;
		text-align: center;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: 50% 50%;
		background-image: url("../img/nodata.png");
		transform: translate3d(-50%,-100%,0);
	}
	&::after{
		top: 50%;
		left: 50%;
		display: block;
		position: fixed;
		font-size: 16px;
		color: #333333;
		text-align: center;
		content: attr(nodata);
		transform: translateX(-50%);
		padding-top: 5px;
	}
}

.v-app {
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	display: flex;
	position: fixed;
	overflow: hidden;
	flex-direction: column;
	background-color: #f2f2f2;
	> .view {
	  flex: 1;
	  overflow: auto;
	}
  }